package com.secxiot.common.exception;

import com.secxiot.common.constant.ServerStatusEnum;

public class TaskStatusIllegalException extends BaseException {

    private int status;

    private String message;

    public TaskStatusIllegalException(ServerStatusEnum exEnum, String message) {
        super(exEnum);
        this.status = exEnum.getStatus();
        this.message = message;
    }
}
